//
//  CartSingleton.m
//  WashForU
//
//  Created by 王俊 on 15/12/2.
//  Copyright © 2015年 王俊. All rights reserved.
//

#import "CartSingleton.h"

@implementation CartSingleton


+(instancetype)shareCartSingleton
{
    static dispatch_once_t predicate;
    static CartSingleton   *shareSingleton;
    dispatch_once(&predicate, ^{
        shareSingleton = [[CartSingleton alloc]init];
        shareSingleton.itermInCart = [[NSMutableArray alloc]init];
        //需要将itemInCart数组置为空
    });
    return shareSingleton;
}
@end
